package cn.zhuoluodada.opensource.smartdb.wrapper;

import cn.zhuoluodada.opensource.smartdb.MysqlSmartDb;
import cn.zhuoluodada.opensource.smartdb.SmartDb;
import cn.zhuoluodada.opensource.smartdb.SmartDbWrapper;
import cn.zhuoluodada.opensource.smartdb.sqlbuilder.ReplaceSqlBuilder;

public class MysqlSmartDbWrapper extends SmartDbWrapper implements MysqlSmartDb {

    public MysqlSmartDbWrapper(SmartDb db) {
        super(db);
    }

    public MysqlSmartDbWrapper() {
    }

    @Override
    public ReplaceSqlBuilder replaceSqlBuilder() {
        return ((MysqlSmartDb) db).replaceSqlBuilder();
    }

    @Override
    public int execute(ReplaceSqlBuilder replaceSqlBuilder) {
        return ((MysqlSmartDb) db).execute(replaceSqlBuilder);
    }
}
